projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffd26e
)
React to is-focus change, not ignore it
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 20 Feb 2011 21:44:26 +0000
(16:44 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 20 Feb 2011 21:45:41 +0000
(16:45 -0500)
A very old bug, noticed in
https://bugzilla.gnome.org/show_bug.cgi?id=642791
gtk/gtksocket.c
patch
|
blob
|
history
diff --git
a/gtk/gtksocket.c
b/gtk/gtksocket.c
index d88f756690a03c167bfa5b3b391ecb12952fecf7..d20a567ecede9941b73a727e25a7fd553c1326d7 100644
(file)
--- a/
gtk/gtksocket.c
+++ b/
gtk/gtksocket.c
@@
-916,9
+916,8
@@
static void
gtk_socket_notify (GObject *object,
GParamSpec *pspec)
{
- if (!strcmp (pspec->name, "is-focus"))
- return;
- socket_update_focus_in (GTK_SOCKET (object));
+ if (strcmp (pspec->name, "is-focus") == 0)
+ socket_update_focus_in (GTK_SOCKET (object));
}
/**